<%--<li class="dropdown" style="margin-top: 6px;">--%>
<%--	 <button class="btn btn-success" type="button">Entr&aacute;</button>--%>
<%--	<ul class="dropdown-menu">--%>
<%--	--%>
<%--    </ul>--%>
<%--</li>--%>
<ul class="nav nav-pills" style="margin-top: 2px;">
  <li class="dropdown">
    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
        <span class="menuLoguear">Ten&eacute;s una cuenta?&nbsp;<b>Mubbiate</b></span>
        <b class="caret"></b>
      </a>
    <ul class="dropdown-menu">
    	<form action="/Mubbia/j_spring_security_check" method="POST" id="loginForm" class="form-horizontal" autocomplete="off">
<%--    	<g:form class="form-horizontal" method="post" name="loginForm" id="loginForm" url="[controller:'login']" action="/Mubbia/j_spring_security_check">--%>
    	  <g:hiddenField name="controllerActual" id="controllerActual" value="${params.controller}"/>
    	  <g:hiddenField name="actionActual" id="actionActual" value="${params.action}"/>
    	  <g:hiddenField name="mubbiaId" id="mubbiaId" value="${mubbiaInstance?.id }"/>
		  <div>
		    <div class="controls">
		      <input type="text" name="j_username" id="username" placeholder="Usuario o email">
		    </div>
		  </div>
		  <div>
		    <div class="controls">
		      <input type="password" name="j_password" maxLength="20" id="password" placeholder="Contraseña" class="span2">
		    </div>
		  </div>
		  <div class="separator"></div>
		  <div>
		    <div class="controls">
		      <label class="checkbox" style="float: left; font-size: 12px;">
<%--		        <input type="checkbox">Recordame--%>
					<input type="checkbox" class="chk" name="_spring_security_remember_me" id="remember_me">Recordame
		      </label>
		      <button style="float: right; margin-left:20px; align: right;" type="submit" class="btn">Entrar</button>
		    </div>
		  </div>
		  <div class="separator"></div>
		  <div>
		  	<button class="btn btn-small btn-link" type="button">Olvidaste tu contrase&ntilde;a?</button>
		  </div>
		  <div class="separatorMediano"></div>
		    <div align="center">
				<facebookAuth:connect permissions="email,user_about_me" />
			</div>
		</form>
<%--		</g:form>--%>
    </ul>
  </li>
</ul>